package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomentrust.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
@Schema(description = "业主委托请求对象")
public class RoomEntrustAddUpdateVO {
    @Schema(description = "主键")
    private Long id;

    @NotNull(message = "业主来源不能为空")
    @Schema(description = "业主来源")
    private String source;

    @NotNull(message = "业主姓名不能为空")
    @Schema(description = "业主姓名")
    private String name;

    @NotNull(message = "业主电话不能为空")
    @Schema(description = "业主电话")
    private String phone;

    @NotNull(message = "所在小区不能为空")
    @Schema(description = "所在小区")
    private String area;

    @Schema(description = "所在小区")
    private Long deptId;
    @Schema(description = "操作人ID")
    private Long operatorId;

    @Schema(description = "操作人名字")
    private String operatorName;

    @Schema(description = "委托时间")
    private LocalDateTime viewingTime;

}
